package cn.wolfcode.wolf2w.service;

import cn.wolfcode.wolf2w.domain.StrategyComment;
import cn.wolfcode.wolf2w.domain.Travel;
import cn.wolfcode.wolf2w.query.StrategyCommentQuery;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IStrategyCommentService {
    /**
     * 保存操作
     * @param strategyComment
     */
    void save(StrategyComment strategyComment);

    /**
     * 删除操作
     * @param id
     */
    void delete(String id);

    /**
     * 编辑操作
     * @param strategyComment
     */
    void update(StrategyComment strategyComment);

    /**
     * 查一个
     * @param id
     * @return
     */
    StrategyComment get(String id);

    /**
     * 查多个
     * @param
     * @return
     */
    List<StrategyComment> list();


    Page<StrategyComment> queryPageList(StrategyCommentQuery qo);


    void commentThumb(String uid, String cid);
}
